package com.course.server.dto;

/**
 * @author TangKe（唐柯）
 * @date 2022/6/29 - 4:38 下午
 */
public class SortDto {

     /**
      * ID
      */
      private String id;
 
     /**
       * 当前排序
       */
        private int oldSort;

        /**
       * 新排序
       */
        private int newSort;

 
             public String getId() {
                 return id;
             }
 
             public void setId(String id) {
                 this.id = id;
             }
 
             public int getNewSort() {
                 return newSort;
             }
 
             public void setNewSort(int newSort) {
                 this.newSort = newSort;
             }
 
             public int getOldSort() {
                 return oldSort;
             }
 
             public void setOldSort(int oldSort) {
                 this.oldSort = oldSort;
             }
  
             @Override
     public String toString() {
                 final StringBuffer sb = new StringBuffer("SortDto{");
                 sb.append("id='").append(id).append('\'');
                 sb.append(", oldSort=").append(oldSort);
                 sb.append(", newSort=").append(newSort);
                 sb.append('}');
                 return sb.toString();
             }
 }

